package com.ecommerce.dal.service;

import java.util.List;

import com.ecommerce.dal.entity.MembershipCard;

public interface IMembershipCardManagerService {
	/**
	 * @param Integer membershipCardID
	 * @return MembershipCard Object
	 */
	public MembershipCard retrieveMembershipCard(Long membershipCardId);
	/**
	 * @param MembershipCard membershipCard Object
	 */
	public void saveMembershipCard(MembershipCard membershipCard);
	/**
	 * @return List of all MembershipCards in the system
	 */
	public List<MembershipCard> retrieveAllMembershipCards();
	
	/**
	 * @return Double MembershipCard price
	 */
	public double retrieveMembershipCardPrice(long membershipCardId);
	/**
	 * @param long membershipCardId
	 * @return true if membershipCard is valid , false otherwise
	 */
	public boolean checkMembershipCard(long membershipCardId);
	
	
	void updateMembershipCard(MembershipCard membershipCard);
	void deleteMembershipCard(MembershipCard membershipCard);
	

}
